<div id="ja-header" class="main clearfix">

	<div class="inner">
		<?php
		$siteName = $this->sitename();
		if ($this->getParam('logoType')=='image'): ?>
		<h1 class="logo">
			<a href="index.php" title="<?php echo $siteName; ?>"><span><?php echo $siteName; ?></span></a>
		</h1>
		<?php else:
		$logoText = (trim($this->getParam('logoText'))=='') ? $config->sitename : $this->getParam('logoText');
		$sloganText = (trim($this->getParam('sloganText'))=='') ? JText::_('SITE SLOGAN') : $this->getParam('sloganText');	?>
		<div class="logo-text">
			<h1><a href="index.php" title="<?php echo $siteName; ?>"><span><?php echo $logoText; ?></span></a></h1>
			<p class="site-slogan"><?php echo $sloganText;?></p>
		</div>
		<?php endif; ?>
	</div>
	
</div>
	